#!/bin/bash
backdir='/home/gitlab/data/backups'
latestFileName=`ls $backdir -t|head -n 1`
cd "$backdir"
scp "$latestFileName" root@192.168.250.62:/home/gitlab

